package com.taxshare.purchaser.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.taxshare.purchaser.entity.InvoiceCollectionApplyEntity;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface InvoiceCollectionApplyMapper extends BaseMapper<InvoiceCollectionApplyEntity> {

    //入库归集申请
    void insertInvoiceCollectionApply(InvoiceCollectionApplyEntity invoiceCollectionApplyEntity);











    @Select("select lsh from t_invoice_collection_apply where state = '0' ")
    List selectByLsh();


    @Update("update t_invoice_collection_apply state = '1'")
    void updateByLsh(@Param("lsh") String lsh);
}
